package longtime;

import java.util.Scanner;

public class demo05 {
    public static void main(String[] args) {
        double v;
        double r;
        System.out.println("请输入球的半径");
        Scanner sc = new Scanner(System.in);
        r = sc.nextDouble();
        final double PI = 3.1415;
        v = 4.0/3.0*PI*r*r*r;
        System.out.println("球的体积是"+v);
    }
}
